package com.demo.startup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@ComponentScan("com.demo")
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.demo")
@EnableAspectJAutoProxy
public class WebStartup
{
	public static void main(String[] args) {
        SpringApplication.run(WebStartup.class, args);
    }
}
